All Functions of Week 7

read_excel

{readxl}

Read an Excel file

library

{base}

Load an R package

seq

{base}

Create a sequence

sum

{base}

Get sum of numeric values or a vector

theme_classic

{GGPLOT2}

A minimalistic theme with no gridlines

aes

{GGPLOT2}

Construct aesthetic mapping of a ggplot graph

summary

{base}

Obtain summary statistics or detailed regression output

hist

{graphics}

Plot a simple histogram

var

{stats}

Calculate variance

labs

{GGPLOT2}

Customise labels in GGPLOT2

boxplot

{graphics}

Plot a simple box plot

min

{base}

Get minimum of a vector

median

{stats}

Get median of a vector

mean

{base}

Get mean of a vector

geom_histogram

{GGPLOT2}

Generates a histogram

sd

{stats}

Get standard deviation of a vector

setwd

{base}

Set Working Directory

range

{base}

Return range of values

ifelse

{base}

Return a or b depending on the value of test

max

{base}

Get maximum of a vector

scale_x_continuous

{GGPLOT2}

Customise continuous x axis

ggplot

{GGPLOT2}

Create a ggplot graph

The end!